package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 访问记录对象 bie_records
 * 
 * @author zxl
 * @date 2021-05-03
 */
public class BieRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 访问记录 */
    @Excel(name = "访问记录")
    private String recordsId;

    /** 访问类型，1入0出 */
    @Excel(name = "访问类型，1入0出")
    private Long recordsType;

//    /** 黑名单编号 */
//    @Excel(name = "黑名单编号")
//    private String blacklistId;

    /** 门禁卡编号 */
    @Excel(name = "门禁卡编号")
    private String accessCardId;

    /** 持卡人姓名 */
    @Excel(name = "持卡人姓名")
    private String holderName;

    /** 持卡者手机号码 */
    @Excel(name = "持卡者手机号码")
    private String phone;

    /** 持卡人所在小区名称 */
    @Excel(name = "持卡人所在小区名称")
    private String vllageName;

    /** 单元号 */
    @Excel(name = "单元号")
    private String unitNum;

    /** 栋号 */
    @Excel(name = "栋号")
    private String buildingNum;

    /** 层号 */
    @Excel(name = "层号")
    private String floorNum;

    /** 房间号 */
    @Excel(name = "房间号")
    private String roomNum;

    /** 加入黑名单的理由 */
    @Excel(name = "加入黑名单的理由")
    private String remarks;

    public void setRecordsId(String recordsId) 
    {
        this.recordsId = recordsId;
    }

    public String getRecordsId() 
    {
        return recordsId;
    }
    public void setRecordsType(Long recordsType) 
    {
        this.recordsType = recordsType;
    }

    public Long getRecordsType() 
    {
        return recordsType;
    }

//    public void setBlacklistId(String blacklistId)
//    {
//        this.blacklistId = blacklistId;
//    }
//
//    public String getBlacklistId()
//    {
//        return blacklistId;
//    }


    public void setAccessCardId(String accessCardId) 
    {
        this.accessCardId = accessCardId;
    }

    public String getAccessCardId() 
    {
        return accessCardId;
    }
    public void setHolderName(String holderName) 
    {
        this.holderName = holderName;
    }

    public String getHolderName() 
    {
        return holderName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setVllageName(String vllageName) 
    {
        this.vllageName = vllageName;
    }

    public String getVllageName() 
    {
        return vllageName;
    }
    public void setUnitNum(String unitNum) 
    {
        this.unitNum = unitNum;
    }

    public String getUnitNum() 
    {
        return unitNum;
    }
    public void setBuildingNum(String buildingNum) 
    {
        this.buildingNum = buildingNum;
    }

    public String getBuildingNum() 
    {
        return buildingNum;
    }
    public void setFloorNum(String floorNum) 
    {
        this.floorNum = floorNum;
    }

    public String getFloorNum() 
    {
        return floorNum;
    }
    public void setRoomNum(String roomNum) 
    {
        this.roomNum = roomNum;
    }

    public String getRoomNum() 
    {
        return roomNum;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return
                super.toString()+
                new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordsId", getRecordsId())
            .append("recordsType", getRecordsType())
//            .append("blacklistId", getBlacklistId())
            .append("accessCardId", getAccessCardId())
            .append("holderName", getHolderName())
            .append("phone", getPhone())
            .append("vllageName", getVllageName())
            .append("unitNum", getUnitNum())
            .append("buildingNum", getBuildingNum())
            .append("floorNum", getFloorNum())
            .append("roomNum", getRoomNum())
            .append("createTime", getCreateTime())
            .append("remarks", getRemarks())
            .toString();
    }
}
